import { createSSRApp } from 'vue'
import App from './App.vue'
import XlmTopNav from './components/XlmTopNav/index.vue';
import XlmSwitchCommon from './components/XlmSwitchCommon/index.vue';
import { setupStore } from './store';
export function createApp() {
  const app = createSSRApp(App)

  app.component('xlm-top-nav', XlmTopNav);
  app.component('xlm-switch-common', XlmSwitchCommon);
  setupStore(app)
  return {
    app
  }
}
